package com.qiaoan.back.controller.sys;

import com.qiaoan.back.service.sys.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
@RequestMapping("/sysrole")
public class RoleController {
	
    @Autowired
	private RoleService service ;

	@RequestMapping(value = "/index", method = { RequestMethod.GET })
	public String list(Model model, HttpServletRequest request,
					   HttpServletResponse response) throws Exception {


		return "sys/role/list";

	}

}
